import { ref } from 'vue';
import { listLibrary } from './../../../manage/library';
export default ()=>{
	const libraryList = ref<any>('');
	async function getAllLibrary(){
		const res:any = await listLibrary();
		libraryList.value = res.data.list;
		console.log(res,'查询所有产品库');
	}
    
	getAllLibrary();
	return {
		libraryList
	};
};